<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let a = [23,525,959,2,3,65]
        for(let i in a){
            console.log(a[i])
        }
        let b = "sdasfas"
        for(let i in b){
            document.writeln(b[i])
        }

        // 3种提示框
       alert("简单的提示框")
       let money = prompt("你有多少钱？")
       let flag = confirm("确认要删除吗？")
       document.writeln(money)
       document.writeln(flag)
    </script>
</body>
</html>